module.exports = app => {
  const {STRING,DOUBLE} = app.Sequelize

  const User = app.model.define('user',{
    username: STRING,               //用户名
    password: STRING,               //密码
    headImg:STRING,                 //头像
    selfIntroduction:STRING,        //惹人简介
    auth:DOUBLE,                    //权限
    status:DOUBLE                   //状态（是否冻结）
  })

  return User
}